﻿using Jy.Abp.GeneralTree;
using Jy.Abp.Identity;
using Jy.Abp.SettingManagement;
using Volo.Abp.Account;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;
using Volo.Abp.PermissionManagement;

namespace AbpProjectTemplate;

[DependsOn(
    typeof(AppDomainModule),
    typeof(AppApplicationContractsModule),

    typeof(JyAbpGeneralTreeApplicationModule),
    typeof(JyAbpSettingManagementApplicationModule),
    typeof(JyAbpIdentityApplicationModule),
    typeof(AbpAccountApplicationModule),
    typeof(AbpPermissionManagementApplicationModule)
    //typeof(AbpTenantManagementApplicationModule),
    //typeof(AbpFeatureManagementApplicationModule),
    //typeof(AbpSettingManagementApplicationModule)
    )]
public class AppApplicationModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        Configure<AbpAutoMapperOptions>(options =>
        {
            options.AddMaps<AppApplicationModule>();
        });
    }
}
